projects
/
pcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
342946a
)
Reduce the amount of debug information when building for 32bit architectures
author
Adrian Bunk
<bunk@debian.org>
Fri, 14 Sep 2018 19:24:40 +0000
(21:24 +0200)
committer
Jochen Sprickerhof
<git@jochen.sprickerhof.de>
Fri, 14 Sep 2018 19:24:40 +0000
(21:24 +0200)
Closes: #908820
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 3c9ead548ee651573399f52e6f46783bf7cebda5..377906f0d6e4311302a07e463d4a6b14938ffa33 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-11,9
+11,8
@@
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)
-DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
- CXXFLAGS+=--param ggc-min-expand=20
+ifeq (32,$(DEB_HOST_ARCH_BITS))
+ CXXFLAGS+=-g1
endif
BUILD_DOC = $(if $(shell dh_listpackages | grep libpcl-doc),-DWITH_DOCS=ON)